import Router from '@koa/router';
import { homeRoutes } from './home.routes';
import { apiRoutes } from './api.routes';
import { uploadRoutes } from './upload.routes';

const router = new Router();

// 注册所有路由
router.use('/', homeRoutes.routes());

router.use('/api', apiRoutes.routes());

router.use('/upload', uploadRoutes.routes());

export default router;
